home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / adg_4_6.zip / RECORDER.H < prev    next >
Text File  |  1991-02-21  |  1KB  |  23 lines

  1. /****************************************************************************
  2. Module name: Recorder.H
  3. Programmer : Jeffrey M. Richter.
  4. *****************************************************************************/
  5.  
  6. typedef enum { 
  7.    REC_OK,        // Operation was successful.
  8.    REC_ACTIVE,    // Attempt to start recording while already recording.
  9.                   // Attempt to start play while already playing.
  10.    REC_INACTIVE,  // Attempt to stop recording while NOT recording.
  11.    REC_NOMEMORY,  // When attempting to start recording or during recording.
  12.    REC_NOEVENTS,  // Attempt playback with no events in memory block.
  13.    REC_TOOMANY,   // Attempt record more than 65535 events.
  14.    REC_SYSMODALON,// Recording/playing halted because a system-modal
  15.                   // dialog box appeared.
  16. } RECRESULT;
  17.  
  18. typedef enum {
  19.    RM_STARTRECORD, RM_STOPRECORD, RM_STARTPLAY, RM_STOPPLAY
  20. } RECORDMODE;
  21.  
  22. RECRESULT FAR PASCAL Recorder (RECORDMODE RecordMode, WORD wParam, LONG lParam);
  23.